namespace Jumpton.SFA.Server.Entity {
    using System;
    using System.Collections.Generic;
    using System.Text;
    using Jumpton.Persistent;
    using System.Data;
    using System.Runtime.Serialization;
    
    
    [System.SerializableAttribute()]
    [Map("CPR_DATAS")]
    public class CPR_DATAS : ObjectRow {
        
        public CPR_DATAS() {
        }
        
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="dataRow">DataTable 中的一行数据</param>
        /// <param name="objectTable">存储当前对象的数据表格</param>
        public CPR_DATAS(System.Data.DataRow dataRow, ObjectTable parent) : 
                base(dataRow, parent) {
        }
        
        /// <summary>
        /// 供反序列化使用的构造函数
        /// </summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        protected CPR_DATAS(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                base(info, context) {
        }
        
        [Key("ID")]
        public string ID {
            get {
                return (System.String)GetValue("ID");
            }
            set {
                SetValue("ID", value);
            }
        }
        
        [Field("CUSTOMERS_ID")]
        public string CUSTOMERS_ID {
            get {
                return (System.String)GetValue("CUSTOMERS_ID");
            }
            set {
                SetValue("CUSTOMERS_ID", value);
            }
        }
        
        [Field("PRODUCTS_ID")]
        public decimal PRODUCTS_ID {
            get {
                return (System.Decimal)GetValue("PRODUCTS_ID");
            }
            set {
                SetValue("PRODUCTS_ID", value);
            }
        }
        
        [Field("VISITID")]
        public string VISITID {
            get {
                return (System.String)GetValue("VISITID");
            }
            set {
                SetValue("VISITID", value);
            }
        }
        
        [Field("COLUMN1_VALUE")]
        public string COLUMN1_VALUE {
            get {
                return (System.String)GetValue("COLUMN1_VALUE");
            }
            set {
                SetValue("COLUMN1_VALUE", value);
            }
        }
        
        [Field("COLUMN1_VALUE_TYPE")]
        public string COLUMN1_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN1_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN1_VALUE_TYPE", value);
            }
        }
        
        [Field("COLUMN2_VALUE")]
        public string COLUMN2_VALUE {
            get {
                return (System.String)GetValue("COLUMN2_VALUE");
            }
            set {
                SetValue("COLUMN2_VALUE", value);
            }
        }
        
        [Field("COLUMN2_VALUE_TYPE")]
        public string COLUMN2_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN2_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN2_VALUE_TYPE", value);
            }
        }
        
        [Field("COLUMN3_VALUE")]
        public string COLUMN3_VALUE {
            get {
                return (System.String)GetValue("COLUMN3_VALUE");
            }
            set {
                SetValue("COLUMN3_VALUE", value);
            }
        }
        
        [Field("COLUMN3_VALUE_TYPE")]
        public string COLUMN3_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN3_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN3_VALUE_TYPE", value);
            }
        }
        
        [Field("COLUMN4_VALUE")]
        public string COLUMN4_VALUE {
            get {
                return (System.String)GetValue("COLUMN4_VALUE");
            }
            set {
                SetValue("COLUMN4_VALUE", value);
            }
        }
        
        [Field("COLUMN4_VALUE_TYPE")]
        public string COLUMN4_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN4_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN4_VALUE_TYPE", value);
            }
        }
        
        [Field("COLUMN5_VALUE")]
        public string COLUMN5_VALUE {
            get {
                return (System.String)GetValue("COLUMN5_VALUE");
            }
            set {
                SetValue("COLUMN5_VALUE", value);
            }
        }
        
        [Field("COLUMN5_VALUE_TYPE")]
        public string COLUMN5_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN5_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN5_VALUE_TYPE", value);
            }
        }
        
        [Field("COLUMN6_VALUE")]
        public string COLUMN6_VALUE {
            get {
                return (System.String)GetValue("COLUMN6_VALUE");
            }
            set {
                SetValue("COLUMN6_VALUE", value);
            }
        }
        
        [Field("COLUMN6_VALUE_TYPE")]
        public string COLUMN6_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN6_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN6_VALUE_TYPE", value);
            }
        }
        
        [Field("COLUMN7_VALUE")]
        public string COLUMN7_VALUE {
            get {
                return (System.String)GetValue("COLUMN7_VALUE");
            }
            set {
                SetValue("COLUMN7_VALUE", value);
            }
        }
        
        [Field("COLUMN7_VALUE_TYPE")]
        public string COLUMN7_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN7_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN7_VALUE_TYPE", value);
            }
        }
        
        [Field("COLUMN8_VALUE")]
        public string COLUMN8_VALUE {
            get {
                return (System.String)GetValue("COLUMN8_VALUE");
            }
            set {
                SetValue("COLUMN8_VALUE", value);
            }
        }
        
        [Field("COLUMN8_VALUE_TYPE")]
        public string COLUMN8_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN8_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN8_VALUE_TYPE", value);
            }
        }
        
        [Field("COLUMN9_VALUE")]
        public string COLUMN9_VALUE {
            get {
                return (System.String)GetValue("COLUMN9_VALUE");
            }
            set {
                SetValue("COLUMN9_VALUE", value);
            }
        }
        
        [Field("COLUMN9_VALUE_TYPE")]
        public string COLUMN9_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN9_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN9_VALUE_TYPE", value);
            }
        }
        
        [Field("COLUMN10_VALUE")]
        public string COLUMN10_VALUE {
            get {
                return (System.String)GetValue("COLUMN10_VALUE");
            }
            set {
                SetValue("COLUMN10_VALUE", value);
            }
        }
        
        [Field("COLUMN10_VALUE_TYPE")]
        public string COLUMN10_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN10_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN10_VALUE_TYPE", value);
            }
        }
        
        [Field("COLUMN11_VALUE")]
        public string COLUMN11_VALUE {
            get {
                return (System.String)GetValue("COLUMN11_VALUE");
            }
            set {
                SetValue("COLUMN11_VALUE", value);
            }
        }
        
        [Field("COLUMN11_VALUE_TYPE")]
        public string COLUMN11_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN11_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN11_VALUE_TYPE", value);
            }
        }
        
        [Field("COLUMN12_VALUE")]
        public string COLUMN12_VALUE {
            get {
                return (System.String)GetValue("COLUMN12_VALUE");
            }
            set {
                SetValue("COLUMN12_VALUE", value);
            }
        }
        
        [Field("COLUMN12_VALUE_TYPE")]
        public string COLUMN12_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN12_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN12_VALUE_TYPE", value);
            }
        }
        
        [Field("COLUMN13_VALUE")]
        public string COLUMN13_VALUE {
            get {
                return (System.String)GetValue("COLUMN13_VALUE");
            }
            set {
                SetValue("COLUMN13_VALUE", value);
            }
        }
        
        [Field("COLUMN13_VALUE_TYPE")]
        public string COLUMN13_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN13_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN13_VALUE_TYPE", value);
            }
        }
        
        [Field("COLUMN14_VALUE")]
        public string COLUMN14_VALUE {
            get {
                return (System.String)GetValue("COLUMN14_VALUE");
            }
            set {
                SetValue("COLUMN14_VALUE", value);
            }
        }
        
        [Field("COLUMN14_VALUE_TYPE")]
        public string COLUMN14_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN14_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN14_VALUE_TYPE", value);
            }
        }
        
        [Field("COLUMN15_VALUE")]
        public string COLUMN15_VALUE {
            get {
                return (System.String)GetValue("COLUMN15_VALUE");
            }
            set {
                SetValue("COLUMN15_VALUE", value);
            }
        }
        
        [Field("COLUMN15_VALUE_TYPE")]
        public string COLUMN15_VALUE_TYPE {
            get {
                return (System.String)GetValue("COLUMN15_VALUE_TYPE");
            }
            set {
                SetValue("COLUMN15_VALUE_TYPE", value);
            }
        }
        
        [Field("ACTIVE")]
        public bool ACTIVE {
            get {
                return (System.Boolean)GetValue("ACTIVE");
            }
            set {
                SetValue("ACTIVE", value);
            }
        }
        
        [Field("DOMAIN_ID")]
        public decimal DOMAIN_ID {
            get {
                return (System.Decimal)GetValue("DOMAIN_ID");
            }
            set {
                SetValue("DOMAIN_ID", value);
            }
        }
        
        [Field("LAST_UPDATER")]
        public string LAST_UPDATER {
            get {
                return (System.String)GetValue("LAST_UPDATER");
            }
            set {
                SetValue("LAST_UPDATER", value);
            }
        }
        
        [Field("LAST_UPDATE_TIME")]
        public decimal LAST_UPDATE_TIME {
            get {
                return (System.Decimal)GetValue("LAST_UPDATE_TIME");
            }
            set {
                SetValue("LAST_UPDATE_TIME", value);
            }
        }
        
        [Field("CREATE_TIME")]
        public decimal CREATE_TIME {
            get {
                return (System.Decimal)GetValue("CREATE_TIME");
            }
            set {
                SetValue("CREATE_TIME", value);
            }
        }
    }
}
